home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / intrvews / xgrab.lha / xgrab / include / attribute.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-06  |  740 b   |  35 lines

  1. /**
  2.    GRAB Graph Layout and Browser System
  3.  
  4.    Copyright (c) 1986, 1988 Regents of the University of California
  5.    Copyright (c) 1989, Tera Computer Company
  6.  **/
  7.  
  8.   /* attribute.h -- node and edge attributes, C version */
  9.  
  10. #ifndef attribute_h
  11. #define attribute_h
  12.  
  13. #include <stdio.h>
  14.  
  15. typedef char BOOL;
  16.  
  17. #ifndef FALSE
  18. #define    FALSE        0
  19. #endif
  20. #ifndef TRUE
  21. #define    TRUE        1
  22. #endif
  23.  
  24. typedef enum {RECTANGLE, CIRCLE, DIAMOND, OVAL, POINT, DOUBLE_BOX} SHAPE;
  25. typedef enum {SOLIDB, BSOLIDB, DOTTEDB, BDOTTEDB, DASHEDB, BDASHEDB} BRUSH;
  26. typedef enum {BLACK, GRAY, WHITE} COLOR;
  27. typedef enum {NORMAL, DUMMY} STATUS;
  28.  
  29. #define DEFAULT_SHAPE        RECTANGLE
  30. #define DEFAULT_BRUSH        SOLIDB
  31. #define DEFAULT_COLOR        BLACK
  32. #define DEFAULT_STATUS        NORMAL
  33.  
  34. #endif
  35.